package Week02.Day05;
/**
 * 服装
 */
public class Clothing {
    /**类型*/
    private  String type;
    /**面料*/
    private  String cloth;
    public Clothing(){

    }
    public Clothing(String type,String cloth){
        this.type = type;
        this.cloth = cloth;
    }
    /**服装的信息方法*/
    public void parameter(){
        System.out.println("类型为"+ type +"面料为" + cloth);
    }
    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public String getCloth() {
        return cloth;
    }
    public void setCloth(String cloth) {
        this.cloth = cloth;
    }
}
